Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cqn4sql/infer): support for deep search #252

Closed
wants to merge 23 commits into from

Conversation

patricebender
Copy link
Member

@patricebender patricebender commented Sep 26, 2023

support search via path expressions:

  • deep search via associations
  • include calculated elements if explicitly requested
  • keep existing caching mechanisms

based on #248

@patricebender patricebender changed the title cqn4sql/infer: support for deep search feat(cqn4sql/infer): support for deep search Oct 13, 2023
Base automatically changed from search to main October 18, 2023 08:01
@patricebender patricebender marked this pull request as ready for review October 18, 2023 08:38
patricebender added a commit that referenced this pull request Apr 16, 2024
support search via path expressions:

- deep search via associations
- include calculated elements if explicitly requested
- keep existing caching mechanisms

---

rework of #252
@patricebender
Copy link
Member Author

Closed in favor of #590

patricebender added a commit that referenced this pull request Jul 8, 2024
support search via path expressions:

- deep search via associations
- include calculated elements if explicitly requested

---

with `cds.infer` being a part of all our query objects, each query comes
with `target` and `elements` even without the `infer` function of the
`db-service`being called. Hence, it was possible to calculate the search
term as a very first step of `cqn4sql`. After the `contains(…)` function
has been added to the queries `where` or `having` clause the usual join
tree algorithm is executed, making it possible to use path expressions
within the search term.

---

rework of #252

---------

Co-authored-by: Johannes Vogel <31311694+johannes-vogel@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant